package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsj.gxrd.common.MyBaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author songpin566
 * @date 2023/10/13
 **/
@Data
@ApiModel("大政方针")
@TableName("rd_banner")
public class RdBanner extends MyBaseEntity<String> {

    @ApiModelProperty("id")
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty("url")
    private String bannerImgUrl;
    @ApiModelProperty("描述标题")
    private String introduction;
    @ApiModelProperty("0未启动 1启动")
    private Integer startStatus;
    @ApiModelProperty("删除标记")
    @TableLogic
    private Integer delFlag;
    @ApiModelProperty("内容")
    private String content;


}
